|
| | MAS () |
| |
| long | open (const std::string &filename) |
| | Opens a file.
|
| |
| Interpolator * | createNewInterpolator () |
| | Returns an Interpolator object for the currently opened file.
|
| |
| const std::vector< float > *const | getRPosGrid (const std::string &variable) |
| |
| const std::vector< float > *const | getRPosGrid (long variable_id) |
| |
| std::string | getRPosGridName (const std::string &variable) |
| |
| std::string | getRPosGridName (long variable) |
| |
| const std::vector< float > *const | getLatPosGrid (const std::string &variable) |
| |
| const std::vector< float > *const | getLatPosGrid (long variable_id) |
| |
| std::string | getLatPosGridName (const std::string &variable) |
| |
| std::string | getLatPosGridName (long variable_id) |
| |
| const std::vector< float > *const | getLonPosGrid (long variable_id) |
| |
| const std::vector< float > *const | getlonPosGrid (const std::string &variable) |
| |
| std::string | getLonPosGridName (const std::string &variable) |
| |
| std::string | getLonPosGridName (long variable_id) |
| |
| bool | getChangeSignFlag (std::string variable) |
| |
| bool | getChangeSignFlag (long variable_id) |
| |
| const std::vector< std::string > | getLoadedVariables () |
| | Returns the list of variables that have been loaded into memory, using the loadVariable or loadVectorVariable methods.
|
| |
| virtual | ~MAS () |
| |
| | Model () |
| |
| void | setModelName (std::string modelName) |
| | Sets the model name to modelName.
|
| |
| std::string | getModelName () |
| | Returns the modelName of the currently selected file.
|
| |
| long | loadVariable (const std::string &variable) |
| | Load a variable into memory.
|
| |
| long | unloadVariable (const std::string &variable) |
| | Unload a variable from memory. This will return FileReader::OK if the variable is removed from memory, and FileReader::VARIABLE_NOT_IN_MEMORY if the variable was not already in memory.
|
| |
| long | loadVariableInt (const std::string &variable) |
| | Loads a variable into memory.
|
| |
| std::vector< float > * | getVariableFromMapRW (const std::string &variable) |
| | Returns a pointer to the entry in the variableData map containing the variable data.
|
| |
| std::vector< int > * | getIntVariableFromMapRW (const std::string &variable) |
| | Returns a pointer to the entry in the variableDataInt map containing the variable data.
|
| |
| const std::vector< float > *const | getVariableFromMap (const std::string &variable) |
| | Returns a const pointer to the entry in the variableData map containing the variable data.
|
| |
| const std::vector< int > *const | getIntVariableFromMap (const std::string &variable) |
| | Returns a const pointer to the entry in the variableDataInt map containing the variable data.
|
| |
| void | addFloatVariableToMap (const std::string &variable, std::vector< float > *variableData) |
| |
| const std::vector< float > *const | getVariableFromMap (long variable_id) |
| | Returns a const pointer to the entry in the variableDataByID map containing the variable data.
|
| |
| const std::vector< int > *const | getIntVariableFromMap (long variable_id) |
| | Returns a const pointer to the entry in the variableDataIntByID map containing the variable data.
|
| |
| std::vector< float > * | getVariableFromMapRW (long variable_id) |
| | Returns a pointer to the entry in the variableDataByID map containing the variable data.
|
| |
| std::vector< int > * | getIntVariableFromMapRW (long variable_id) |
| | Returns a pointer to the entry in the variableDataIntByID map containing the variable data.
|
| |
| void | setMissingValue (float missingValue) |
| | Sets the missing value to use when no valid data exists.
|
| |
| float | getMissingValue () |
| | Returns the missing value that will be returned when no valid data exists.
|
| |
| float | getConversionFactorToSI (const std::string &variable) |
| | Returns the conversion factor needed to convert the interpolated value to SI units.
|
| |
| std::string | getNativeUnit (const std::string &variable) |
| | Fetches the native units of the variable as stored in the file.
|
| |
| std::string | getSIUnit (const std::string &variable) |
| | Returns the SI units of the specified variable.
|
| |
| int | getProgress () |
| |
| int | getBusyStatus () |
| |
| long | close () |
| | Closes the currently selected file.
|
| |
| virtual | ~Model () |
| |
| | GeneralFileReader () |
| |
| long | open (const std::string &filename) |
| |
| std::vector< float > * | getVariable (const std::string &variable) |
| |
| std::vector< float > * | getVariable (long variableID) |
| |
| std::vector< float > * | getVariable (const std::string &variable, long startIndex, long count) |
| |
| std::vector< float > * | getVariable (long variableID, long startIndex, long count) |
| |
| float | getVariableAtIndex (const std::string &variable, long index) |
| |
| float | getVariableAtIndex (long variable_id, long index) |
| |
| std::vector< int > * | getVariableInt (const std::string &variable) |
| |
| int | getVariableIntAtIndex (const std::string &variable, long index) |
| |
| int | getNumberOfGlobalAttributes () |
| |
| int | getNumberOfVariables () |
| |
| int | getNumberOfVariableAttributes () |
| |
| long | getNumberOfRecords (const std::string &variable) |
| |
| long | getNumberOfRecords (long variable_id) |
| |
| long | getVariableID (const std::string &variable) |
| |
| std::string | getVariableName (long variable_id) |
| |
| Attribute | getGlobalAttribute (long i) |
| |
| std::string | getGlobalAttributeName (long attribute_id) |
| |
| std::string | getVariableAttributeName (long attribute_id) |
| |
| Attribute | getGlobalAttribute (const std::string &attribute) |
| |
| Attribute | getVariableAttribute (const std::string &variable, const std::string &attribute) |
| |
| std::vector< std::string > | getVariableAttributeNames () |
| |
| bool | doesAttributeExist (const std::string &attribute) |
| |
| bool | doesVariableExist (const std::string &variable) |
| |
| long | close () |
| |
| const std::string & | getCurrentFilename () |
| |
| | ~GeneralFileReader () |
| |
TODO: Brief description of MAS class.
TODO: Full description of MAS class